ExamPlay Light Logo
Oturum aç

Computer Science for IGCSE & O level - Programming (Section 14 - No. 49)

What will be the output when `age` is 20, given the following code? ``` IF age >= 17 THEN Print "You are an adult" ELSE Print "You are a child" ENDIF ```
You are a child
You are an adult
Nothing will be printed.
The program will throw an error.

Açıklama

Since age (20) is greater than or equal to 17, "You are an adult" will be outputted.

Yorumlar (0)

Yorum yapmak için giriş yapın
Reklamcılık
BrainBehindX Inc Logo
©2026; Tarafından desteklenmektedir BrainBehindX Inc